package com.jprocms.module.cms.framework.tree;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author jprocms
 */
@Data
public class TreeDto<T extends TreeDto> {
    @Schema(description = "id")
    private Long id;
    @Schema(description = "父级id")
    private Long parentId;
    @Schema(description = "children")
    private List<T> children;
    @Schema(description = "树路径")
    private String path;
}
